package com.inifitness.display.controller.common;

import com.inifitness.common.basic.BasePageQuery;
import com.inifitness.common.result.PageResult;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor;
import lombok.extern.log4j.Log4j2;
import org.springdoc.core.annotations.ParameterObject;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 场馆内环境数据接口
 *
 * @author sunjinfeng
 * @version 1.0.0
 * @since 2024/4/18 14:29
 */
@RestController
@Log4j2
@AllArgsConstructor
@Tag(name = "3.通用接口")
@RequestMapping("/api/v1/groupfitness")
public class GroupFitnessController {

  @Operation(summary = "今日团课列表")
  @GetMapping("/today/page")
  public PageResult<Void> getTodayGroupFitnessPage(@RequestParam(value = "appid") String mac,
      @ParameterObject BasePageQuery queryParams) {
    //TODO: 完善接口服务
    return null;
  }

  @Operation(summary = "团课列表")
  @GetMapping("/page")
  public PageResult<Void> getGroupFitnessPage(@RequestParam(value = "appid") String mac,
      @ParameterObject BasePageQuery queryParams) {
    //TODO: 完善接口服务
    return null;
  }
}
